<?php
namespace backend\models\article;

use yii\db\ActiveRecord;

class Lable extends ActiveRecord
{
    /**
     * @return string 返回该AR类关联的数据表名
     */
    public static function tableName()
    {
        return 'edu_article_lable';
    }
   
    
    /** 
     * @inheritdoc 
     */  
    public function rules()  
    {  
        return [  
            [['article_id', 'artlable_id'], 'required'],    
        ];  
    }   
}
?>